package com.krlin.soccer.soccer.service;

import com.krlin.soccer.soccer.entity.Coach;
import com.krlin.soccer.soccer.mapper.CoachMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CoachService {


    @Autowired
    CoachMapper coachMapper;

    public List<Coach> getAllCoach() {
        return coachMapper.getAllCoach();
    }
}
